Цифры 0 1 2 3 4 5 6 7 8 9 — это не единственные символы, которые считаются цифрами. Python следует правилам Unicode и считает «цифрами» сотни различных символов. Вот полный список таких символов.
Это влияет на такие функции, как int, unicode.isdecimal и даже re.match:
# Пример 1 int('෯') # Вывод: 9
# Пример 2 '٢'.isdecimal() # Вывод: True
# Пример 3 import re bool(re.match(r'\d', '౫')) # Вывод: True
Цифры 0 1 2 3 4 5 6 7 8 9 — это не единственные символы, которые считаются цифрами. Python следует правилам Unicode и считает «цифрами» сотни различных символов. Вот полный список таких символов.
Это влияет на такие функции, как int, unicode.isdecimal и даже re.match:
# Пример 1 int('෯') # Вывод: 9
# Пример 2 '٢'.isdecimal() # Вывод: True
# Пример 3 import re bool(re.match(r'\d', '౫')) # Вывод: True
Start with a fresh view of investing strategy. The combination of risks and fads this quarter looks to be topping. That means the future is ready to move in.Likely, there will not be a wholesale shift. Company actions will aim to benefit from economic growth, inflationary pressures and a return of market-determined interest rates. In turn, all of that should drive the stock market and investment returns higher.
Why Telegram?
Telegram has no known backdoors and, even though it is come in for criticism for using proprietary encryption methods instead of open-source ones, those have yet to be compromised. While no messaging app can guarantee a 100% impermeable defense against determined attackers, Telegram is vulnerabilities are few and either theoretical or based on spoof files fooling users into actively enabling an attack.